*{margin: 0;padding: 0;}
body{
  background-color: #faf1ae;
}
.title{
  position: relative;
  width: 100%
  height: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  color: #fff;
  font-size: 0.7rem;
  background-color: #000;
}
.title img{
  position: absolute;
  top: 0.35rem;
  left: 0.6rem;
  width: 0.5rem;
}
.top_bg{
  background: url(../src/all.png);
  background-size: 100% 100%;
  position: relative;
}
.oval{
  position: absolute;
  z-index: 1;
  bottom: 0px;
  background: url(../src/oval.png);
  width: 100%;
  height: 100px;
  background-size: 100% 100%;
}
.all_bg {
  width: 320px;
  height: 490px;
  margin: 0 auto;
  position: relative;
}
.cover{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
}
.logo{
  position: absolute;
  top: 70px;
  left: 45px;
  width: 70px;
  height: 37px;
  z-index: 11;
}
.logo img{width: 100%;height: 100%;}
.time{
  position: absolute;
  top: 70px;
  right: 30px;
  width: 110px;
  height: 20px;
  line-height: 20px;
  border-radius: 10px;
  background-color: #fff;
  z-index: 11;
  font-size: 12px;
  color: #ea7808;
}
.time img{width: 13px;margin: 0 4px 2px 11px;}

.allcanvas{
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.point{
  position: absolute;
  width: 95px;
  top: 212px;
  left: 121px;
  z-index: 12;
}
.stop_bg{
  width: 280px;
  height: 470px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  background: url(../src/11.png);
  background-size: 100% 100%;
}
.bg{
  position: absolute;
  width: 319px;
  height: 490px;
  top: 0;
  left: 0;
  background: url(../src/222.png);
  background-size: 100% 100%;
  z-index: 10;
}
.line{
  position: absolute;
  width: 6px;
  height: 72px;
  top: 60px;
  left: 132px;
}
.zhua{
  position: absolute;
  width: 70px;
  top: 122px;
  left: 100px;
}
.wawa{
  position: absolute;
  width: 96%;
  top: 296px;
  left: 10px;
}

#canvas1, #canvas2 {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

#canvas1 {
  z-index: 3;
}

#canvas2 {
  z-index: 2;
}

.c_btn{
  position: absolute;
  bottom: 36px;
  z-index: 10;
  text-align: center;
  width: 98px;
  height: 34px;
  line-height: 34px;
  color: #fff;
  font-size: 14px;
  background-color: #fb894a;
  border-radius: 10px;
  box-shadow: 0px 4px 0px #dd530a;
}

.one{left: 50px;}
.two{right: 50px;}


/*倒计时进度条开始*/
.d_number{
  position: absolute;
  z-index: 11;
  top: 19px;
  left: 43px;
  color: #FAA927;
  font-size: 18px;
  font-weight: 600;
  /*font-family: georgia;*/
}
.progress{
  position: absolute;
  z-index: 11;
  top: 23px;
  left: 92px;
  height: 15px;
  width: 60%;
  background: #262626;
  overflow: visible;
  border-radius: 20px;
  border-bottom: 1px solid #FAA927;
}
.progress .progress-bar{
  border-radius: 20px;
  position: relative;
  animation: animate-positive 2s;
  background-color: #FAA927!important;
}
.progress-bar.active{
  animation: reverse progress-bar-stripes 0.40s linear infinite, animate-positive 2s;
}
@-webkit-keyframes animate-positive{
  0% { width: 0; }
}
@keyframes animate-positive{
  0% { width: 0; }
}
/*倒计时进度条结束*/

.r_all{
  width: 14rem;
  /* height: 200px; */
  background-color: #ffd83e;
  border-radius: 0.75rem;
  margin: 1.5rem auto 0;
  padding: 0.4rem;
}
.r_body{
  width: 100%;
  height: 100%;
  background-color: #ffd83e;
  border-radius: 0.5rem;
  margin: 0px auto;
  background: url(../src/r_bg.png);
  background-size: 100% 100%;
}
.r_title{
  position: relative;
  top: 0;
  width: 100%;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  color: #6d4705;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #feb027;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /*background: url(../src/r_title.png);
  background-size: 100% 100%;*/
}
.r_title img{
  position: absolute;
  bottom: -5px;
  left: 0px;
  width: 100%;
  height: 10px;
}
.r_table{
  width: 90%;
  color: #fb894a;
  margin: 10px auto;
}
.r_table table{
  width: 100%;
  line-height: 1.5rem;
  text-align: center;
  font-size: 0.6rem;
}
.r_table th{
  color: #dd530a;
  text-align: center;
}
/*规则*/
.rule_all{margin: 2.7rem 0 1.5rem;position: relative;}
.rule_t{
  position: absolute;
  width: 10rem;
  height: 2rem;
  top: -1.7rem;
  left: 1rem;
  text-indent: 2.1rem;
  line-height: 1.6rem;
  color: #dd530a;
  font-size: 0.75rem;
  font-weight: 600;
  background: url(../src/rule_title.png);
  background-size: 100% 100%;
}
.rule_con{
  width: 14rem;
  margin: 0 auto;
  padding: 0.5rem 0;
  background-color: #fce572;
  color: #f58a0c;
  border-radius: 0.6rem;
  line-height: 1rem;
}
.rule_con div{
  position: relative;
  width: 11.5rem;
  margin-left: 1.5rem;
}
.rule_con span{
  position: absolute;
  top: 3px;
  left: -1rem;
  color: #f58a0c;
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.35rem;
  line-height: 0.7rem;
  text-align: center;
  background-color: #fff;
  margin-right: 0.5rem;
}


/*弹窗开始*/
.fly404{
  position: absolute;
  background-color: #fff;
  width: 280px;
  height: 470px;
  bottom: 20px;
  left: 20px;
  z-index: 17;
  border-radius: 10px;
  text-align: center;
}
.fly404 img{
  width: 110px;
  margin-top: 80px;
}
.f_sorry{
  width: 100%;
  font-size: 32px;
  margin: 20px 0 40px;
}
.f_word{
  width: 100%;
  font-size: 14px;
}
/*.f_btn{
  width: 127px;
  height: 30px;
  line-height: 30px;
  border-radius: 15px;
  background-color: #fb894a;
  color: #fff;
  font-size: 14px;
  text-align: center;
}*/
.result{
  display: none;
  width: 282px;
  height: 460px;
  position: absolute;
  top: 9px;
  left: 19px;
  background-color: #000;
  opacity: 0.8;
  z-index: 11;
  border-radius: 16px;
}

/*开始页面*/
.start{
  /*display: none; */
  position: absolute;
  top: 80px;
  width: 100%;
  z-index: 12;
  color: #fff;
}
.s_title{
  position: absolute;
  top: 0px;
  right: 23px;
  width: 275px;
}
.s_time{
  position: absolute;
  top: 100px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-family: "幼圆";
}
.s_start{
  position: absolute;
  top: 158px;
  right: 83px;
  width: 147px;
}
.s_btn{
  position: absolute;
  top: 243px;
  right: 109px;
  text-align: center;
  width: 95px;
  height: 26px;
  line-height: 26px;
  color: #fff;
  font-size: 13px;
  background-color: #fe6f1a;
  border-radius: 6px;
  box-shadow: 0px 4px 0px #ab5102;
}

/*分享*/
.word{
  display: none; 
  position: absolute;
  top: 110px;
  width: 100%;
  z-index: 12;
  color: #fff;
  line-height: 28px;
  text-align: center;
  font-family: "幼圆";
}
.word .share{
  position: absolute;
  width: 70px;
  top: -90px;
  right: 30px;
}
.word .word_img{
  width: 200px;
}

/*规则*/
.rule{
  display: none; 
  position: absolute;
  left: 12%;
  top: 56px;
  width: 76%;
  z-index: 12;
  color: #fff;
  line-height: 24px;
  font-size: 14px;
}
.rule img{
  position: absolute;
  width: 20px;
  top: -40px;
  right: 0px;
}
.rule_title{
  width: 100%;
  text-align: center;    
  font-size: 20px;
  margin-bottom: 16px;
}
.rule p{margin: 0;font-size: 12px;}
.rule_body{height: 330px;overflow-y:auto;}

.r_close,.r_close_no{
  position: absolute;
  width: 28px;
  top: -55px;
  right: 45px;
}

/*没机会*/
.no_chance{
  display: none; 
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  z-index: 12;
}
.no_chance .no_img{
  position: absolute;
  width: 265px;
  top: 0px;
  right: 28px;
}
.no_word{
  position: absolute;
  top: 145px;
  left: 44px;
  width: 70%;
  color: #fff;
  font-size: 14px;
}

/*未中奖*/
.nothing{
  display: none; 
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  z-index: 12;
}
.nothing .nothing_img{
  position: absolute;
  width: 222px;
  top: -15px;
  right: 45px;
}
.nothing_word{
  position: absolute;
  top: 98px;
  left: 2px;
  width: 100%;
  color: #a6937c;
  font-size: 14px;
  text-align: center;
}
.one_more{
  position: absolute;
  top: 252px;
  left: 92px;
  color: #fff;
  background-color: #fb894a;
  text-align: center;
  width: 140px;
  height: 25px;
  line-height: 25px;
  border-radius: 13rem;
  font-size: 12px;
}

/*中奖*/
.zhong{
  display: none; 
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  z-index: 12;
}
.z_title{
  position: absolute;
  width: 70%;
  height: 30px;
  line-height: 27px;
  text-align: center;
  left: 15%;
  color: #d97c00;
  background: url(../src/z_title.png);
  background-size: 100% 100%;
  font-size: 14px;
}
.zhong .z_img{
  position: absolute;
  width: 262px;
  top: 50px;
  right: 30px;
}
.z_word{
  position: absolute;
  top: 97px;
  width: 100%;
  color: #ec4d35;
  font-size: 18px;
  text-align: center;
  font-weight: 600;
}
.z_word span{font-size: 24px;}
.z_type{
  position: absolute;
  top: 132px;
  width: 100%;
  color: #ec4d35;
  font-size: 14px;
  text-align: center;
}

/*没有邀请记录*/
.no_invite{
  display: none; 
  position: absolute;
  left: 0;
  top: 77px;
  width: 100%;
  z-index: 12;
}
.no_invite .no_invite_img{
  position: absolute;
  width: 245px;
  top: -15px;
  right: 33px;
}
.no_invite_word{
  position: absolute;
  top: 115px;
  width: 100%;
  color: #da7f5b;
  opacity: 0.5;
  font-size: 14px;
  text-align: center;
}

/*时间到*/
.time_over{
  display: none; 
  position: absolute;
  left: 0;
  top: 77px;
  width: 100%;
  z-index: 12;
}
.time_over .time_over_img{
  position: absolute;
  width: 235px;
  top: 20px;
  right: 43px;
}

/*奖品*/
.gift{
  display: none; 
  position: absolute;
  left: 0;
  top: 77px;
  width: 100%;
  z-index: 12;
  color: #bc795f;
}
.gift .gift_img{
  position: absolute;
  width: 245px;
  top: -15px;
  right: 33px;
}
.g_number{
  position: absolute;
  top: 35px;
  font-size: 12px;
}
.g_one{left: 69px;}
.g_two{left: 164px;}
.g_number span{font-size: 16px;color: #ff665c;}
.table_body{
  position: absolute;
  top: 100px;
  left: 70px;
  width: 182px;
  text-align: center;
  line-height: 30px;
  height: 125px;
  overflow-y: auto;
}
.table_body table{width: 100%;}
.table_body table tr{border-bottom: 1px dashed #bc795f;}
.gift_bg{
  position: absolute;
  top: 67px;
  left: 59px;
  background-color: #ffe9c1;
  width: 204px;
  height: 30px;
  color: #da7f5b;
}
.gift_bg span{
  display: inline-block;
  width: 100px;
  text-align: center;
  line-height: 30px;
}
.gift_word{
  position: absolute;
  top: 246px;
  left: 18%;
  width: 66%;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
}
.gift_word div{margin-bottom: 10px;margin-top: 8px;}

/*结束页面*/
.over{
  /*display: none; */
  position: absolute;
  left: 0;
  top: 77px;
  width: 100%;
  z-index: 12;
  color: #bc795f;
}
.over .over_img{
  position: absolute;
  width: 284px;
  top: 16px;
  right: 19px;
}
.o_word{
  width: 100%;
  color: #feb027;
  text-align: center;
  position: absolute;
  top: 195px;
  font-size: 20px;
}
.o_btn{
  width: 158px;
  background-color: #feb027;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 228px;
  right: 83px;
  font-size: 14px;
}

/*未开始页面*/
.no_start{
  /*display: none; */
  position: absolute;
  left: 0;
  top: 77px;
  width: 100%;
  z-index: 12;
  color: #bc795f;
}
.no_start .no_start_img{
  position: absolute;
  width: 205px;
  top: 28px;
  right: 55px;
}
.no_start_btn{
  width: 100%;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 195px;
  font-size: 20px;
}
.no_start_time{
  width: 100%;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 248px;
  font-size: 14px;
}

/*无参与资格*/
.sorry{
  /*display: none; */
  position: absolute;
  left: 0;
  top: 77px;
  width: 100%;
  z-index: 12;
  color: #bc795f;
}
.sorry .sorry_img{
  position: absolute;
  width: 205px;
  top: 28px;
  right: 55px;
}
.sorry .sorry_word{
  position: absolute;
  text-align: center;
  top: 125px;
  width: 100%;
  color: #fff;
}
.two_code{
  position: absolute;
  text-align: center;
  top: 193px;
  left: 114px;
  width: 100px;
  height: 100px;
  padding: 5px;
  background-color: #fff;
  border-radius: 5px;
}
.two_code img{
  width: 100%;
}

/*弹窗结束*/

/*分享成功*/
.share_body{background-color: #f0f0f0;}
.ss_word{
  font-size: 0.8rem;
  text-align: center;
  margin: 2rem 0;
}
.ss_word img{
  display: block;
  margin: 0 auto;
  width: 8.2rem;
}
.ss_btn{
  font-size: 0.7rem;
  width: 10rem;
  height: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0 auto;
  background-color: green;
  border-radius: 1rem;
  color: #fff;
}